import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { KanbanLayoutComponent } from './kanban-layout/kanban-layout.component';

const routes: Routes = [
  {
    path: '', component: KanbanLayoutComponent,
    children: [
      {
        path: 'monitor',
        loadChildren: () => import('src/components/scenarios/monitor/monitor.module').then(m => m.MonitorModule)
      },
      { path: '**', redirectTo: '/notfound' },
    ]
  },

];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class KanbanRoutingModule { }
